/**
 * Place holder for copyright, needs to be replaced before release.
 */
package com.softao.ming.gwt.ui.client;

import com.google.gwt.user.client.ui.Widget;

/**
 * 
 */
public interface ILayoutArea {
	/**
	 * @return the widget which actually renders the UI.
	 */
	public Widget getLayoutWidget();

	/**
	 * @param viewId
	 */
	public void showView(String viewId);

	/**
	 * @param viewId
	 */
	public void hideView(String viewId);

	/**
	 * @param viewId
	 */
	public void removeView(String viewId);
	
	/**
	 * @param viewId
	 * @return <code>true</code> if the area contains the view specified by id.
	 */
	public boolean contains(String viewId);
}
